package server

import (
	"context"
	"longmen/server/pkg/protobuf"
)

func (s *Server) GetCategory(ctx context.Context, req *protobuf.Empty) (*protobuf.CategoryResp, error) {
	resp, _ := s.Category()
	return &protobuf.CategoryResp{SummaryCategory: resp}, nil
}
